<template>
    <div class="search-bar">
        <input type="text" placeholder="搜索校园超市商品">
    </div>
</template>

<script>
    export default {
        name: 'SearchBar'
    }
</script>

<style lang="scss" scoped>
.search-bar {
    width:100%;
    height:45px;
    background:rgba(255,255,255,1);
    border:1px solid rgba(237,237,237,1);
    display: flex;
    justify-content: center;
    align-items: center;
    input {
        width: calc(600px / 2);
        height: 32px;
        border-radius: 16px;
        border: 1px solid rgba(237,237,237,1);
        outline: none;
        padding-left: 15px;
        font-size: 12px;
    }
}
</style>